home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / progtool / c / gcc / gcc258s.zoo / config / i386 / os2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-29  |  2.3 KB  |  74 lines

  1. /* Definitions of target machine for GNU compiler
  2.    for an Intel i386 or later processor running OS/2 2.x.
  3.    Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  4.    Contributed by Samuel Figueroa (figueroa@cs.nyu.edu)
  5.  
  6. This file is part of GNU CC.
  7.  
  8. GNU CC is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2, or (at your option)
  11. any later version.
  12.  
  13. GNU CC is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GNU CC; see the file COPYING.  If not, write to
  20. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  21.  
  22. #ifndef DEFAULT_TARGET_MACHINE
  23. #define DEFAULT_TARGET_MACHINE "i386-os2"
  24. #endif
  25. #ifndef STARTFILE_SPEC
  26. #define STARTFILE_SPEC ""
  27. #endif
  28. #ifndef MD_EXEC_PREFIX
  29. #define MD_EXEC_PREFIX "\\gcc\\bin\\"
  30. #endif
  31. #ifndef STANDARD_STARTFILE_PREFIX
  32. #define STANDARD_STARTFILE_PREFIX "\\gcc\\lib\\"
  33. #endif
  34. #ifndef LOCAL_INCLUDE_DIR
  35. #define LOCAL_INCLUDE_DIR "\\gcc\\include"
  36. #endif
  37.  
  38. #ifndef PATH_SEPARATOR
  39. #define PATH_SEPARATOR ';'
  40. #endif
  41.  
  42. #define YES_UNDERSCORES
  43. #include "i386/gstabs.h"
  44.  
  45. #define USE_COLLECT
  46.  
  47. #define BIGGEST_FIELD_ALIGNMENT \
  48.   (maximum_field_alignment ? maximum_field_alignment : 32)
  49.  
  50. extern int maximum_field_alignment;
  51.  
  52. #undef PCC_BITFIELD_TYPE_MATTERS
  53. #define PCC_BITFIELD_TYPE_MATTERS (maximum_field_alignment == 0)
  54.  
  55. /* Define this macro if it is advisible to hold scalars in registers
  56.    in a wider mode than that declared by the program.  In such cases,
  57.    the value is constrained to be within the bounds of the declared
  58.    type, but kept valid in the wider mode.  The signedness of the
  59.    extension may differ from that of the type.  */
  60.  
  61. #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE)  \
  62.   if (GET_MODE_CLASS (MODE) == MODE_INT         \
  63.       && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \
  64.       (MODE) = SImode;
  65.  
  66. /* Define this if function arguments should also be promoted using the above
  67.    procedure.  */
  68.  
  69. #define PROMOTE_FUNCTION_ARGS
  70.  
  71. /* Likewise, if the function return value is promoted.  */
  72.  
  73. #define PROMOTE_FUNCTION_RETURN
  74.